package com.xlh.wjdcserver.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.property.dto.AnswerExportDTO;
import com.property.entity.Answer;
import com.property.vo.AnswerVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AnswerMapper extends BaseMapper<Answer> {
    Page<AnswerVO> page(Page<AnswerVO> page, @Param("ew") QueryWrapper<AnswerVO> queryWrapper);

    List<AnswerVO> export(AnswerExportDTO answerExportDTO, @Param("ew") QueryWrapper<AnswerVO> queryWrapper);
}
